
package com.hengyue.system.repository;

import com.hengyue.system.domain.entity.SysDictType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysDictTypeRepository extends JpaRepository<SysDictType, Long>, JpaSpecificationExecutor<SysDictType> {
    SysDictType findByDictType(String dictType);
    List<SysDictType> findByDictNameContaining(String dictName);
    List<SysDictType> findByStatus(String status);
}
